<template>
  <div>
    <!--<calendar-weekend :time="time"></calendar-weekend>-->
    <Gss :time="time" @change="dolin" :doling="doling"></Gss>
    <calendar-month @change="pick" :doling="doling"></calendar-month>
  </div>
</template>

<script>
  import CalendarMonth from './components/Month'
  import CalendarWeekend from './components/week'
  import Gss from './components/ss'

  export default {
    components: {
      CalendarMonth,
      CalendarWeekend,
      Gss
    },
    name: "Calendar",
    data(){
      return{
        time:'',
        doling:false,
      }
    },
    methods:{
      pick(time,name){
        this.time = time
        this.doling = name
      },
      dolin(doling){
        console.log(doling)
        this.doling = doling

      }
    }
  }
</script>

<style scoped>

</style>
